<html>
<head><meta charset="utf-8"><title>Minimum size of an MCP? · t-lang · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/index.html">t-lang</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html">Minimum size of an MCP?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="203651950"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203651950" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203651950">(Jul 12 2020 at 17:11)</a>:</h4>
<p>How <em>small</em> of a language change does a change get before it becomes too small for an MCP, and we just put in a PR and people checks boxes and then we merge it?</p>
<p><strong>Example:</strong> I had an idea just now when looking at <code>AtomicPtr</code>that we should probably just allow <code>#[repr(align(ptr))]</code> when you want to align your type to the alignment of a pointer, instead of making everyone have <a href="https://doc.rust-lang.org/src/core/sync/atomic.rs.html#183-185">three lines of cfg_attr</a>.</p>
<p>Now, <code>repr(align(ptr))</code> seems like a <em>very small</em> change, but it affects how an attribute works so T-Lang has to sign off <em>somewhere</em> of course. How small is too small for an MCP?</p>
<p>(side note, I did actually also file an MCP issue for this example idea just now, because it's not just an example I think it's genuinely a good idea)</p>



<a name="203652275"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203652275" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> kennytm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203652275">(Jul 12 2020 at 17:18)</a>:</h4>
<p>is it useful to have a <code>#[repr(align(2ptr))]</code>?</p>



<a name="203653055"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203653055" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203653055">(Jul 12 2020 at 17:37)</a>:</h4>
<p><del> Interesting question. Put it over here: <a href="https://github.com/rust-lang/lang-team/issues/35">https://github.com/rust-lang/lang-team/issues/35</a> </del></p>



<a name="203653108"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203653108" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203653108">(Jul 12 2020 at 17:38)</a>:</h4>
<p>Ooops, the issue isn't for discussion, i guess the zulip stream link is <a href="#narrow/stream/243200-xxx/topic/MCP.3A.20repr.28align.28ptr.29.29.20lang-team.2335">here</a></p>



<a name="203653526"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203653526" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> kennytm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203653526">(Jul 12 2020 at 17:49)</a>:</h4>
<p>oops thought this was the MCP thread</p>



<a name="203653692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/Minimum%20size%20of%20an%20MCP%3F/near/203653692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/Minimum.20size.20of.20an.20MCP.3F.html#203653692">(Jul 12 2020 at 17:53)</a>:</h4>
<p>The bot currently isn't posting those and I'm trying to fix that</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>